package com.shopping.service;

import com.shopping.bean.Administrator;
import com.shopping.bean.User;
import com.shopping.util.Page;

import java.util.List;

public interface IAdminService {
    Administrator getAdminByID(Integer id);

    int editAdmin(Administrator administrator);
   Administrator getAdmin(Administrator administrator);
    int add(Administrator administrator);
    List<Administrator> getAdminList(String text, Page page);

    int getAdminCount(String text);

    int deleteAdmin(Integer adminid);
}
